
import { get, post } from '../utils/request';
import { HTTP_REQUEST_URL } from '../config/app.js';

export const LoginWx = (data) => {
  return post(HTTP_REQUEST_URL,'/app-api/member/auth/weixin-mini-app-login',data);
};

export const getUserInfo = () => {
  return get(HTTP_REQUEST_URL,'/admin-api/crm/user-info/get',{},true);
};

//识别身份证
export const findCardInfo = (img_url) => {
  return get(HTTP_REQUEST_URL,'/admin-api/crm/user-info/findCardInfo?img_url='+img_url,{},true);
};


